Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Graphics /
Chapter 2 - Geometric Shapes / Geometric Shapes Reference
Functions / Drawing Geometric Shapes


GXDrawPaths

You can use the GXDrawPaths function to draw path contours without creating a path shape.

void GXDrawPaths(const gxPaths *data, gxShapeFill fill);
data
A pointer to the path geometry you want to draw.
fill
The shape fill to use when drawing the path contours.
DESCRIPTION
The GXDrawPaths function draws the path geometry specified by the data parameter, using the shape fill specified by the fill parameter, and the style, ink, and transform of the default path shape.

ERRORS, WARNINGS, AND NOTICES
Errors 
out_of_memory 
parameter_is_nil(debugging version)
SEE ALSO
For more information about paths and the default path shape, see "Path Shapes" on page 2-25.

For the definition of the gxPaths structure, see page 2-107.

For examples using this function, see "Creating and Drawing Paths" beginning on page 2-55.

For more information about drawing shapes, see the description of the GXDrawShape function in the chapter "Shape Objects" in Inside Macintosh: QuickDraw GX Objects.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help